#ifndef DUCK_H
#define DUCK_H

#include "FlyBehavior.h"
#include "QuackBehavior.h"

class Duck
{
public:
	Duck();
	~Duck();

	void performQuack();
	void performFly();
	void swim();
	virtual void display() = 0;
    void setFlyBehavior(FlyBehavior *fb);
    void setQuackBehavior(QuackBehavior *qb);

protected:
	FlyBehavior *flyBehavior;
	QuackBehavior *quackBehavior;
};

#endif